package com.example.orderservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("product_order")
@Data
public class Order {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("order_num")
    private String orderNum;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("status")
    private Integer status;



}
